import Vue from 'vue'
import Router from 'vue-router'
import index from './views/index/index.vue'
import ybgl from './views/ybgl/ybgl.vue'
import cjyb from './views/cjyb/cjyb.vue'
import qyyb from './views/qyyb/qyyb.vue'
import kcgl from './views/kcgl/kcgl.vue'
import tjwz from './views/tjwz/tjwz.vue'
import glwz from './views/glwz/glwz.vue'
import wzfl from './views/wzfl/wzfl.vue'
import login from './views/login/login.vue'
import passwordNew from './views/login/passwordNew.vue'
import reg from './views/login/reg.vue'
import bj from './views/bj/bj.vue'
import qywz from './views/qywz/qywz.vue'
import qyxx from './views/qyxx/qyxx.vue'
import yggl from './views/yggl/yggl.vue'
import tjhy from './views/tjhy/tjhy.vue'
import hydj from './views/hydj/hydj.vue'
import jfglhy from './views/jfglhy/jfglhy.vue'
import jsgl from './views/jsgl/jsgl.vue'
import qxfp from './views/qxfp/qxfp.vue'
import fbtj from './views/fbtj/fbtj.vue'
import tjgl from './views/tjpp/tjgl.vue'
import fbgy from './views/fbgy/fbgy.vue'
import gygl from './views/gygl/gygl.vue'
import tjcp from './views/tjcp/tjcp.vue'
import wdxj from './views/wdxj/wdxj.vue'
import fbxj from './views/fbxj/fbxj.vue'
import cpgl from './views/cpgl/cpgl.vue'
import cpfl from './views/cpfl/cpfl.vue'
import qycp from './views/qycp/qycp.vue'
import hygl from './views/hygl/hygl.vue'
import ddgl from './views/ddgl/ddgl.vue'
import zffs from './views/zffs/zffs.vue'
import tjpp from './views/tjpp/tjpp.vue'
import cjwz from './views/cjwz/cjwz.vue'
import cjwzym from './views/cjwz/cjwzym.vue'
import sjgl from './views/cjwz/sjgl.vue'
import cpsc from './views/cpsc/cpsc.vue'
import jcsz from './views/seo/jcsz.vue'
import language from './views/language/language.vue'
import cdsz from './views/cdsz/cdsz.vue'
import gjcgl from './views/gjcgl/gjcgl.vue'
import hotsearch from './views/hotsearch/hotsearch.vue'
import coupon from './views/coupon/coupon.vue'
import agent from './views/agent/agent.vue'
import reserve from './views/reserve/reserve.vue'
import consign from './views/consign/consign.vue'
import Merchantentry from './views/Merchantentry/Merchantentry.vue'
import sublist from './views/sublist/sublist.vue'
import paylist from './views/paylist/paylist.vue'
import tjxc from './views/tjxc/tjxc.vue'
import xcgl from './views/xcgl/xcgl.vue'
import viplogin from './views/login/viplogin.vue'
import gllb from './views/gllb/gllb.vue'
import shopcart from '@/views/ddgl/shopcart'
import plant from './views/plant/plant'
import special from './views/special/special'
import imports from './views/import/import'
import dfh from './views/dfh/dfh'
import gsdl from './views/gsdl/gsdl'
import dljz from './views/dljz/dljz'
import bbgl from './views/bbgl/bbgl'
import sxfx from './views/sxfx/sxfx'
import zljc from './views/zljc/zljc'
import azpx from './views/azpx/azpx'
import xmgl from './views/xmgl/xmgl'
import ywpx from './views/ywpx/ywpx'
import xsht from './views/xsht/xsht'
import cpsy from './views/cpsy/cpsy'
import dssq from './views/dssq/dssq'
import fhsq from './views/fhsq/fhsq'
import jsxx from './views/jsxx/jsxx'
import xscj from './views/xscj/xscj'
import xwgl from './views/xwgl/xwgl'
import fbxw from './views/fbxw/fbxw'
import zsgl from './views/zsgl/zsgl'
import fbzs from './views/fbzs/fbzs'
import ggfl from './views/ggfl/ggfl'
import gggl from './views/gggl/gggl'
import addgglist from './views/gggl/addgglist'
import newest from './views/newest/newest'
import lfrz from './views/lfrz/lfrz'
import smt from './views/smt/smt.vue'
import xhhzcx from './views/smt/xhhzcx/xhhzcx'
import xhmxcx from './views/smt/xhmxcx/xhmxcx'
import dhdcx from './views/smt/dhdcx/dhdcx'
import jhdcx from './views/smt/jhdcx/jhdcx'
import xsdcx from './views/smt/xsdcx/xsdcx'
import htdcx from './views/smt/htdcx/htdcx'
import bjdcx from './views/smt/bjdcx/bjdcx'
import smtyd from './views/smt/smtyd/smtyd'
import smtkfbh from './views/smt/smtkfbh/smtkfbh'
import smtkhml from './views/smt/smtkhml/smtkhml'
import qxgl from './views/smt/qxgl/qxgl'
import bjdzz from './views/smt/bjdzz/bjdzz'
import htdzz from './views/smt/htdzz/htdzz'
import smtlxr from './views/smt/smtlxr/smtlxr'
import myapi from './views/myapi/myapi'
import apilist from './views/apilist/apilist'
import apigl from './views/apigl/apigl'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
   
    {
    path: '/',
    name: '首页',
    component: index
  },
  {
    path: '/qyyb',
    name: '样本 / 企业样本',
    component: qyyb
  },

  {
    path: '/cjyb',

    name: '样本 / 样本采集',
    component: cjyb
  },
  {
    path: '/ybgl',

    name: '样本 / 样本管理',
    component: ybgl
  },

  {
    path: '/kcgl',

    name: '库存 / 库存管理',
    component: kcgl
  },
  {
    path: '/tjwz',

    name: '文章 / 添加文章',
    component: tjwz
  }, {
    path: '/glwz',

    name: '文章 / 管理文章',
    component: glwz
  }, {
    path: '/wzfl',

    name: '文章 / 文章分类',
    component: wzfl
  }, {
    path: '/login',
    name: '登录页面',
    component: login
  }, {
    path: '/passwordNew',
    name: '找回密码',
    component: passwordNew
  }, {
    path: '/reg',
    name: '注册账户',
    component: reg
  }, {
    path: '/viplogin',
    name: 'viplogin',
    component: viplogin
  }, {
    path: '/bj',
    parent: '',
    name: '报价',
    component: bj
  }, {
    path: '/qywz',
    parent: '文章',
    name: '文章 / 企业文章',
    component: qywz
  }, {
    path: '/qyxx',

    name: '设置 / 企业信息',
    component: qyxx
  }, {
    path: '/yggl',

    name: '设置 / 员工管理',
    component: yggl
  }, {
    path: '/tjhy',

    name: '会员 / 添加会员',
    component: tjhy
  }, {
    path: '/hydj',

    name: '会员 / 会员等级',
    component: hydj
  }, {
    path: '/jfglhy',

    name: '会员 / 会员管理',
    component: jfglhy
  }, {
    path: '/jsgl',

    name: '权限 / 角色管理',
    component: jsgl
  }, {
    path: '/qxfp',

    name: '权限 / 权限分配',
    component: qxfp
  }, {
    path: '/fbtj',

    name: '特价 / 发布特价',
    component: fbtj
  }, {
    path: '/tjgl',

    name: '特价 / 特价管理',
    component: tjgl
  }, {
    path: '/fbgy',
    name: '发布供应',
    component: fbgy
  }, {
    path: '/gygl',

    name: '供应 / 供应管理',
    component: gygl
  }, {
    path: '/tjcp',

    name: '产品 / 添加产品',
    component: tjcp
  }, {
    path: '/cpsc',

    name: '产品 / 产品上传',
    component: cpsc
  }, {
    path: '/wdxj',

    name: '询价 / 我的询价',
    component: wdxj
  }, {
    path: '/fbxj',

    name: '询价 / 发布询价',
    component: fbxj
  }, {
    path: '/reserve',

    name: '询价 / 预定',
    component: reserve
  }, {
    path: '/cpgl',

    name: '产品 / 产品管理',
    component: cpgl
  }, {
    path: '/cpfl',

    name: '产品 / 产品分类',
    component: cpfl
  }, {
    path: '/qycp',

    name: '产品 / 企业产品',
    component: qycp
  },
  {
    path: '/consign',

    name: '产品 / 寄售管理',
    component: consign
  },
  {
    path: '/hotsearch',

    name: '产品 / 热门搜索',
    component: hotsearch
  }, {
    path: '/hygl',

    name: '会员 / 会员管理',
    component: hygl
  }, {
    path: '/lfrz',

    name: '会员 / 来访日志',
    component: lfrz
  },
  {
    path: '/coupon',

    name: '会员 / 优惠券管理',
    component: coupon
  },
  {
    path: '/agent',

    name: '会员 / 网络代理',
    component: agent
  },

  {
    path: '/ddgl',

    name: '销售单',
    component: ddgl
  },
  {
    path: '/dfh',

    name: '待发货',
    component: dfh
  },
  {
    path: '/shopcart',
    name: '购物车',
    component: shopcart
  },
  {
    path: '/zffs',

    name: '设置 / 支付方式',
    component: zffs
  },
  {
    path: '/language',
    name: '设置 / 语言包管理',
    component: language
  },
  {
    path: '/cdsz',
    name: '设置 / 菜单设置',
    component: cdsz
  },

  {
    path: '/tjpp',

    name: '产品 / 添加品牌',
    component: tjpp
  }, {
    path: '/cjwz',

    name: '权限 / 创建网站',
    component: cjwz
  },

  {
    path: '/cjwzym',

    name: '权限 / 创建网站',
    component: cjwzym
  },
  {
    path: '/sjgl',
    name: '权限 / 数据管理',
    component: sjgl
  }
    ,
  {
    path: '/jcsz',
    name: '优化 / 基础设置 ',
    component: jcsz
  }
    ,
  {
    path: '/keywords',
    name: '优化 / 关键词管理',
    component: gjcgl
  },
  {
    path: '/Merchantentry',
    name: '二级商户 / 商户进件',
    component: Merchantentry
  },
  {
    path: '/sublist',
    name: '二级商户 / 商户管理',
    component: sublist
  }, {
    path: '/paylist',
    name: '二级商户 / 支付管理',
    component: paylist
  }, {
    path: '/tjxc',
    name: '相册 / 添加相册',
    component: tjxc
  }, {
    path: '/xcgl',
    name: '相册 / 相册管理',
    component: xcgl
  }, {
    path: '/gllb',
    name: '证件管理 /管理列表',
    component: gllb
  }, {
    path: '/plant',
    name: '推荐管理 /生产厂推荐',
    component: plant
  }
    , {
    path: '/special',
    name: '推荐管理 /特别推荐',
    component: special
  }, {
    path: '/imports',
    name: '推荐管理 /进口推荐',
    component: imports
  }, {
    path: '/gsdl',
    name: '工商财税 /工商代理',
    component: gsdl
  }, {
    path: '/dljz',
    name: '工商财税 /代理记账',
    component: dljz
  }, {
    path: '/bbgl',
    name: '客户报备 /报备管理',
    component: bbgl
  }, {
    path: '/sxfx',
    name: '技术支持 /失效分析',
    component: sxfx
  }, {
    path: '/zljc',
    name: '技术支持 /质量检测',
    component: zljc
  }, {
    path: '/azpx',
    name: '技术支持 /轴承维修',
    component: azpx
  }, {
    path: '/jsxx',
    name: '技术支持 /设计选型',
    component: jsxx
  },
  {
    path: '/xmgl',
    name: '项目合作 /项目管理',
    component: xmgl
  }, {
    path: '/ywpx',
    name: '业务培训',
    component: ywpx
  }, {
    path: '/xsht',
    name: '销售合同',
    component: xsht
  }, {
    path: '/cpsy',
    name: '产品索引',
    component: cpsy
  }, {
    path: '/dssq',
    name: '代售申请',
    component: dssq
  }, {
    path: '/fhsq',
    name: '发货申请',
    component: fhsq
  }, {
    path: '/xscj',
    name: '销售抽奖',
    component: xscj
  }, {
    path: '/xwgl',
    name: '新闻/新闻管理',
    component: xwgl
  }, {
    path: '/fbxw',
    name: '新闻/发布新闻',
    component: fbxw
  }, {
    path: '/zsgl',
    name: '知识/知识管理',
    component: zsgl
  }, {
    path: '/fbzs',
    name: '知识/发布知识',
    component: fbzs
  }, {
    path: '/ggfl',
    name: '广告/广告分类',
    component: ggfl
  }, {
    path: '/gggl',
    name: '广告/广告管理',
    component: gggl
  }, {
    path: '/addgglist',
    name: '新增/修改广告',
    component: addgglist
  }, {
    path: '/newest',
    name: '推荐/新增推荐',
    component: newest
  }, {
    path: '/smt',
    name: '商贸通',
    component: smt
  },{
    path: '/xhhzcx',
    name: '商贸通 / 现货汇总查询',
    component: xhhzcx
  },{
    path: '/qxgl',
    name: '商贸通 / 权限管理',
    component: qxgl
  },{
    path: '/xhmxcx',
    name: '商贸通 / 现货明细查询',
    component: xhmxcx
  },
  {
    path: '/dhdcx',
    name: '商贸通 / 订货单查询',
    component: dhdcx
  },
  {
    path: '/jhdcx',
    name: '商贸通 / 进货单查询',
    component: jhdcx
  },
  {
    path: '/yd',
    name: '商贸通 / 运单',
    component: smtyd
  },
  {
    path: '/xsdcx',
    name: '商贸通 / 销售单查询',
    component: xsdcx
  },
  {
    path: '/htdcx',
    name: '商贸通 / 合同单查询',
    component: htdcx
  },
  {
    path: '/bjdcx',
    name: '商贸通 / 报价单查询',
    component: bjdcx
  },
  {
    path: '/kfbh',
    name: '商贸通 / 待出库',
    component: smtkfbh
  },
  {
    path: '/khml',
    name: '商贸通 / 客户名录',
    component: smtkhml
  },
  {
    path: '/smtlxr',
    name: '商贸通 / 联系人',
    component: smtlxr
  },
  {
    path: '/bjdzzfm',
    name: '商贸通 / 报价单制作',
    component: bjdzz
  },{
    path: '/htdzzfm',
    name: '商贸通 / 合同单制作',
    component: htdzz
  },{
    path: '/myapi',
    name: '我的API',
    component: myapi
  },{
    path: '/apilist',
    name: '数据申请',
    component: apilist
  },{
    path: '/apigl',
    name: '接口管理',
    component: apigl
  }
  
  
  
  
  
  
  ]
})